-
-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add PiShrink step to the workflow (#1) #54
Conversation
* Add PiShrink step to the workflow * Add environment variables for Raspberry Pi 64-bit builder * Update Makefile command to include debug information * Add source distribution target to Makefile * Remove unnecessary provisioner command * Add armhf architecture support * Remove armhf architecture provisioning * Refactor Makefile to remove unnecessary files * Update Makefile command in publish.yml * Update pwngrid URL in raspberrypi64.yml * Add permissions to publish workflow * Remove unnecessary permissions in publish.yml
Awesome! |
that error typically means that the workflow does not have permissions from your repository. in this case, it is trying to call the github api but the token does not have permissions to write the tag (i believe that is the step its on). a couple options: 1. go to the repository's settings > Actions > General and make sure you're giving permissions to read/write via workflows: 2. explicitly give the workflow permissions in the yml file: name: Publish
|
RIght that worked, it did not upload the final .img.xz file though. And it wasnt set as latest release. |
The workflow takes the input for use throughout, but some of the build process will still look at _version.py, I've tried to update the file based on the input, but it does not succeed. So, updating the version file before using the workflow will work. Also, I do not create a tag or release prior, the workflow will create the files, then create the tag, then create the release in draft and generate release notes. Once the files are uploaded, it will take the release out of draft and be your latest. |
I believe this covers it. image is much smaller now, compiled and tested it on the same hardware as my previous pr.
You can see the artifact here: https://github.com/crs-k/pwnagotchi-bookworm/releases/tag/v2.8.12